package org.dromara.wmscloud.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

/**
 * 入库单对象 stock_in_order
 *
 * @author hou
 * @date 2025-04-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("stock_in_order")
public class StockInOrder extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "order_id")
    private Long orderId;

    /**
     * 单据号
     */
    private String orderNo;

    /**
     * 单据类型
     */
    private String orderType;

    /**
     * 单据状态
     */
    private String orderStatus;

    /**
     * 检验状态
     */
    private String checkStatus;

    /**
     * 检验员
     */
    private String checkBy;

    /**
     * 入库单详情
     */
    @TableField(exist = false)
    private List<StockInDetail> detailList;
    /**
     * 删除标识
     */
    @TableLogic
    private String delFlag;


}
